require.config({
	baseUrl: 'app',
	paths: {
		'domReady':"../lib/domReady",
		'jquery':"../lib/jquery-2.1.1.min",
		'jqueryMedia':"../lib/jquery.media",
		'app': '../app/config/app',
		"monitor":"../app/config/appMonitor",
		"loginServices":"../app/config/loginServices",
		'businessServices':'../app/config/businessServices',
		'angular': '../lib/angular.min3',
		'router': '../lib/angular-ui-router',
		"bootStrap":"../lib/bootstrap",
		"i18n":"../them/i18n/i18n_cn",
        "videoData":"../them/vieoDataUpload/vieouoloadfont",
        "uiPanigation":"../app/config/uiPanigation",
		"component":"../app/config/component",
		"ngSanitize":"../lib/angular-sanitize",
		"ngCookies":"../lib/angular-cookies",
		"_":"../lib/underscore",
        "slide":"../lib/jquery.sliderPro.min",
		"wangEditor":"../lib/wangEditor",
		"webuploader":"../lib/webuploader",
		'cookie':'../lib/cookie',
		"prism":"../lib/prism-min",
		"jqFace":"../lib/jquery.qqFace",
		"jqBrower":"../lib/jquery-browser",
		"jqRaty":"../lib/jquery.raty",
		"dragsort":"../lib/jquery.dragsort",    
		"date":"../lib/date",
		"tags":"../lib/ng-tags-input",
		"md5":"../lib/md5",
        "upfull":"../lib/plupload.full.min",
		"canvasCrop":"../lib/jquery.canvasCrop",
		"videoPlay":"../lib/video",
		"swiper":"../lib/swiper.jquery.min",
		'baiduMap':"http://api.map.baidu.com/getscript?v=2.0&ak=v394Ao5EsfLZ9HqFevnL3GLQ&services=&t=20170220193356"
	},
	shim: {
		"jquery":{
			exports: 'jquery'
		},
		"videoPlay":{
			exports: 'videoPlay'
		},
        "upfull":{
            exports: 'upfull'
        },
		"videoData":{
            exports: 'videoData'
		},
        "slide":{
            deps: ['jquery'],
            exports: 'slide'
        },
		"tags":{
			exports: 'tags',
			deps: ['angular']
		},
		"date":{
			exports: 'date'
		},
		"dragsort":{
			deps: ['jquery']
			// exports: 'dragsort'
		},
		"md5":{
			exports: 'md5'
		},
		"jqRaty":{
			deps: ['jquery'],
			exports: 'jqRaty'
		},
		"jqFace":{
			deps: ['jquery'],
			exports: 'jqFace'
		},
		"jqBrower":{
			deps: ['jquery'],
			exports: 'jqBrower'
		},
		'angular': {
			exports: 'angular'
		},
		"ngSanitize":{
			deps: ['angular'],
		},
		"ngCookies":{
			deps: ['angular']
		},
		"jqueryMedia":{
			deps:['jquery']
		},
		'router': {
			deps: ['angular']
		},
		'app': {
			deps: ['router']
		},
		'prism': {
			deps: ['cookie']
		},
		"swiper":{
			exports: 'swiper'
		}
	}
})

// 初始化myModule模块

require(["domReady!",'monitor',"uiPanigation",'component',"tags","loginServices"],function( document){
	angular.bootstrap(document, ['myModule',"uiPagination",'uiComponents',"ngTagsInput","loginModule"])
});

